Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MetadataAsSource test for records #59736

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

Youssef1313
Copy link
Member

Closes #44566

@Youssef1313 Youssef1313 requested a review from a team as a code owner February 24, 2022 11:48
@ghost ghost added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Feb 24, 2022
Comment on lines +470 to +471
[CompilerGenerated]
protected R(R original);
Copy link
Member Author

@Youssef1313 Youssef1313 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it expected to show up given the declaration is already "record"? This applies to other members as well

using System.Runtime.CompilerServices;
using System.Text;

public record [|R|]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this show : IEquatable<R>?

@CyrusNajmabadi CyrusNajmabadi merged commit acbed5f into dotnet:main Feb 28, 2022
@ghost ghost modified the milestones: 17.3, Next Feb 28, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MetadataAsSource: should record types be displayed as records?
4 participants